using GameMain.Scripts;
using GameMain.Utils;
using HotFix.Utils;
using UnityEngine;

namespace HotFix
{
    public partial class LaunchMain : MonoBehaviour
    {
        public static void Main()
        {
            SimpleLog.Log($"[LaunchMain::Main] Begin");

            Application.targetFrameRate = 1024;

            var main = GameRoot.Instance.gameObject.AddComponent<LaunchMain>();
            main.gameObject.AddComponent<Fps>();

            SimpleLog.Log($"[LaunchMain::Main] End");

            Test();
        }
    }
}
